Add CalVer versioning with beta release support#9
Merged
andrescera merged 1 commit intomainfrom Jan 12, 2026
Merged
Conversation
Implement Calendar Versioning (CalVer) with beta release support, matching the versioning scheme used in CeraUI. This provides human-readable version numbers and proper release channels. Changes: - Update release.yml workflow to support beta releases - Add workflow_dispatch inputs for release_type (stable/beta) - Implement CalVer calculation (YYYY.M.patch or YYYY.M.patch-beta.N) - Auto-increment versions based on existing git tags - Mark beta releases as pre-releases on GitHub - Enhanced release notes with changelog generation - Update publish-deb.yml for CalVer Debian packages - Use same CalVer calculation for package versions - Support stable and beta package builds - Update package metadata (ceracoder) - Add comprehensive versioning documentation - Version format and calculation rules - Release creation guide via GitHub Actions - Best practices and troubleshooting - Migration notes from commit-hash versioning - Update README with versioning documentation link Version format: - Stable: YYYY.M.patch (e.g., v2026.1.0) - Beta: YYYY.M.patch-beta.N (e.g., v2026.1.1-beta.1) This aligns ceracoder's versioning with CeraUI and enables proper beta testing workflows before stable releases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements Calendar Versioning (CalVer) with beta release support, matching the versioning scheme used in CeraUI. This provides human-readable version numbers and proper release channels for stable and beta releases.
Changes
🔄 Updated Workflows
.github/workflows/release.ymlrelease_type: Choose betweenstableorbetarelease_notes: Optional release descriptionforce_version: Override auto-detected version if neededYYYY.M.patch(e.g.,v2026.1.0,v2026.1.1)YYYY.M.patch-beta.N(e.g.,v2026.1.2-beta.1).github/workflows/publish-deb.ymlirl-belacodertoceracoder)📚 Documentation
New:
docs/versioning.mdComprehensive documentation covering:
Updated:
README.mdVersion Format
YYYY.M.patchv2026.1.0,v2026.1.1,v2026.2.0YYYY.M.patch-beta.Nv2026.1.1-beta.1,v2026.1.2-beta.2Example Version Progression
How to Use
Creating a Release
stableorbetaThe workflow automatically:
Benefits
✅ Human-readable versions - Date-based versions instead of commit hashes
✅ Beta testing workflow - Test features before stable release
✅ Consistency with CeraUI - Same versioning scheme across projects
✅ Automatic versioning - No manual version bumping
✅ Month-based cycles - Natural release cadence
✅ Pre-release tagging - Beta releases clearly marked on GitHub
Testing
The versioning logic has been tested and verified to match CeraUI's implementation. The workflow will calculate versions based on existing tags in the repository.
Migration
This change is backward compatible. Existing installations with commit-hash versions will continue to work. New releases will use the CalVer format starting from the next release.
Closes: N/A (New feature)
Related: Aligns with CeraUI versioning scheme